/*package br.com.stefanini.schs.ejb.entity;

import java.io.Serializable;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.FetchType;
import javax.persistence.MappedSuperclass;
import javax.persistence.OneToMany;

@MappedSuperclass
public abstract class Profissional extends Funcionario implements Serializable {

	private static final long serialVersionUID = -529365997996135612L;

	@OneToMany(cascade = CascadeType.ALL,fetch = FetchType.LAZY)
	private List<Demanda> demandas;

	public List<Demanda> getDemandas() {
		return demandas;
	}

	public void setDemandas(List<Demanda> demandas) {
		this.demandas = demandas;
	}
	


}
*/